Piwik\Plugins\UserCountry\LocationProvider A

Total Complexity 66
Dependencies 11
Dependents 22
Total lines 453
Lines of code 195
Logical lines of code 122
Comment lines 131
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
prettyFormatLocation()
A
46 14 38
completeLocationResult()
A
51 11 28
getAllProviderInfo()
S
46 6 39
getAllProviders()
S
62 4 12
getProviderById()
S
66 4 8
getIpFromInfo()
S
65 3 8
getCurrentProviderId()
S
66 3 8
getAvailableProviders()
S
66 3 9
getDefaultProviderId()
S
71 2 6
setCurrentProvider()
S
63 2 10
getLocationProviders()
S
67 2 8
isAvailable()
S
100 1 0
getUsageWarning()
S
82 1 3
isVisible()
S
82 1 3
activate()
S
91 1 2
getCurrentProvider()
S
79 1 3
renderSetUpGuide()
S
82 1 3
renderConfiguration()
S
82 1 3
getSupportedLocationInfo()
S
100 1 0
getId()
S
76 1 4
getInfo()
S
100 1 0
isWorking()
S
100 1 0
getLocation()
S
100 1 0